/**
 * Copyright (C), 2001-2023, www.bosssof.com.cn
 * FileName: IErrorCode
 * Author: Administrator
 * Date: 2023-03-31 10:51:23
 * Description:
 * <p>
 * History:
 * <author> Administrator
 * <time> 2023-03-31 10:51:23
 * <version> 1.0.0
 * <desc> 版本描述
 */
package com.bosssoft.quickstart.demo.exception;

/**
 * @InterfaceName: IErrorCode
 * @Description: 所有的模块的异常类型的的父接口该类将会具体的模块的编码枚举实现，枚举类将注入
 *  特定的异常类 如 BusinessException(IModuleCode,IErrorCode,message,ex)
 * @Author: Administrator
 * @Date: 2023-03-31 10:51
 **/
public interface IErrorCode {
    /**
     * 提供给实现类获取错误码
     * @return 错误码
     */
    String getCode();
    /**
     * 提供给实现类获取错误消息
     * @return  错误消息
     */
    String getMessage();




}
